package com.kingyun.gpsinspection.purificationservice.dao.mapper.iam.adm;


import com.kingyun.gpsinspection.purificationservice.facade.model.iam.adm.MakeHoliday;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MakeHolidayMapper {
    int deleteByPrimaryKey(String id);

    int insert(MakeHoliday record);

    int insertSelective(MakeHoliday record);

    MakeHoliday selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(MakeHoliday record);

    int updateByPrimaryKey(MakeHoliday record);

    List<MakeHoliday> queryMakeHolidayByPage(MakeHoliday makeHoliday);

    Integer queryMakeHolidayCount(MakeHoliday makeHoliday);

    int queryDaysOfMonth(@Param("month") String month, @Param("employeeId") String employeeId);

    List<MakeHoliday> queryRemianDaysOfMonth(@Param("month") String month, @Param("employeeId") String employeeId);


    int updateByEmployeeId(MakeHoliday makeHoliday);


    int queryExists(String month);






}